package edt.design.decorator;

/**
 * 最高成绩修饰
 * */
public class HighScoreDecorator extends Decorator {

	public HighScoreDecorator(SchoolReport sr) {
		super(sr);
	}

	// 我要说出最高成绩
	private void reportHighScore() {
		System.out.println("这次考试语文最高75，数学78，自然80");
	}

	@Override
	public void report() {
		this.reportHighScore();
		super.report();
	}

}
